﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using CPlatePrintSys.Annotation.Events;
using CPlatePrintSys.Annotation.Models;
using CPlatePrintSys.Annotation.ViewModels;
using CPlatePrintSys.Win.ViewModels;
using Prism.Events;

namespace CPlatePrintSys.Win.Controls
{
    /// <summary>
    /// ProcessSequenceLayerCtrl.xaml 的交互逻辑
    /// </summary>
    public partial class ProcessSequenceLayerCtrl : UserControl
    {
        public ProcessSequenceLayerCtrl()
        {
            InitializeComponent();

            var eventAggregator = (IEventAggregator)Prism.Ioc.ContainerLocator.Container.Resolve(typeof(IEventAggregator));
            this.DataContext = new ProcessSequenceLayerCtrlViewModel(eventAggregator);

            this.Loaded += ProcessSequenceLayerCtrl_Loaded;
        }

        private void ProcessSequenceLayerCtrl_Loaded(object sender, RoutedEventArgs e)
        {

        }
    }
}
